@import "../_commont/reset.scss";
/* 顶部导航样式 */

header {
    padding: 0 70px;
    height: 56px;
    background: #ffe300;
    position: relative;
}

header .logo {
    float: left;
    margin-top: 18px;
}

header .nav {
    width: 620px;
    height: 56px;
    margin: 0 auto;
    /* transition: all 1s; */
    position: relative;
    z-index: 1;
}

header .nav>li {
    float: left;
    line-height: 56px;
    position: relative;
}

header .nav>li:hover {
    background: #282828;
}

header .nav>li:hover>a {
    color: #ffe300;
}

header .nav>li>a {
    display: inline-block;
    padding: 0 24px;
}

header .nav>li>a.active {
    font-weight: 600;
}

header .nav .last_li>a {
    padding: 0 20px;
    width: 20px;
    height: 56px;
    display: block;
    background: url(../images/more.png) no-repeat center;
    background-size: 20px auto;
}

header .nav .last_li:hover>a {
    background: url(../images/moreY.png) no-repeat center;
}

header .nav .headerSubnav {
    width: 664px;
    height: 145px;
    background: #fff;
    position: absolute;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .2);
    border-radius: 0 0 4px 4px;
    color: #444;
    z-index: 14;
    display: none;
}

header .nav>li:hover .headerSubnav {
    display: block;
}

header .nav .headerSubnav .subul {
    border-bottom: 1px solid #eaeaea;
    line-height: 0;
    overflow: hidden;
    padding: 11px 17px 17px;
}

header .nav .headerSubnav .subul>li {
    float: left;
    width: 90px;
    height: 28px;
    line-height: 28px;
    margin-top: 4px;
    text-align: center;
}

header .nav .headerSubnav .subul>li>a {
    display: inline-block;
    min-width: 42px;
    height: 28px;
    line-height: 28px;
    padding: 0 7px;
    text-align: center;
    margin: 0 6px;
    border-radius: 4px;
}

header .nav .headerSubnav .subul>li>a:hover {
    background: #ffe300;
    color: #444;
}

header .nav .headerSubnav .subul>li>span {
    width: 1px;
    height: 14px;
    background: #ddd;
    float: right;
    margin-top: 5px;
}

header .nav .headerSubnav .subdiv {
    padding: 0 30px;
    line-height: 51px;
}

header .nav .headerSubnav .subdiv>a {
    margin-right: 40px;
    color: #444;
    padding-right: 15px;
    background: url(../images/rightarrow.svg) right no-repeat;
    background-size: 10px 10px;
}

header .nav .headerSubnav .subdiv>a:hover {
    color: #d36f16;
    background: url(../images/rightarrow2.svg) right no-repeat;
    background-size: 10px 10px;
}

header .nav>li>.jobul {
    width: 152px;
    padding: 6px 0;
    position: absolute;
    background: #fff;
    top: 56px;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .2);
    border-radius: 0 0 4px 4px;
    color: #444;
    z-index: 14;
    display: none;
}

header .nav>li:hover>.jobul {
    display: block;
}

header .nav>li>.jobul>li {
    height: 44px;
    line-height: 44px;
}

header .nav>li>.jobul>li:hover {
    background: #ffe300;
}

header .nav>li>.jobul>li>a {
    padding-left: 20px;
    display: inline-block;
}

/* 显示搜索框样式 */

header .searchDiv {
    width: 540px;
    height: 56px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -290px;
    opacity: 0;
    /* transition: all 1s; */
    z-index: -1;
}

header .searchDiv .searchInput {
    width: 470px;
    height: 56px;
    color: #444;
    background: #ffe300;
    position: absolute;
    font-size: 14px;
    line-height: 50px;
    border: 0;
}

header .searchDiv .closeBtn {
    display: inline-block;
    width: 40px;
    height: 56px;
    background: url(../images/guanbihover.svg) no-repeat center;
}

header .searchDiv .searchBtn {
    float: right;
    width: 30px;
    height: 56px;
    background: url(../images/search.png) no-repeat right center;
    background-size: 25px;
}

header .searchDiv .tips {
    width: 540px;
    background: #fff;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, .2);
    border-radius: 0 0 4px 4px;
    color: #444;
    position: absolute;
    top: 56px;
    overflow: hidden;
}

header .searchDiv .tips h2 {
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    font-size: 12px;
    color: #bbb;
}

header .searchDiv .tips ul li {
    height: 40px;
    line-height: 40px;
}

header .searchDiv .tips ul li a {
    display: inline-block;
    width: 100%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #444;
}

/* 搜索框按钮，下载按钮，登录注册*/

header .right {
    width: 252px;
    height: 56px;
    position: absolute;
    top: 0;
    right: 70px;
}

header .right .search {
    width: 60px;
    height: 56px;
    cursor: pointer;
    background-image: url(../images/search.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
    float: left;
    /* transition: all 1s; */
}

header .right .upload {
    width: 60px;
    height: 56px;
    cursor: pointer;
    background-image: url(../images/upload.png);
    background-repeat: no-repeat;
    background-position: center;
    float: left;
}

header .right .search:hover {
    background-color: #282828;
    background-image: url(../images/searchY.png);
}

header .right .upload:hover {
    background-color: #282828;
    background-image: url(../image/uploadY.png);
}

header .right>a {
    margin-left: 20px;
    /* width: 49px; */
    height: 56px;
    line-height: 56px;
    vertical-align: top;
    float: left;
}

header .right>.line {
    width: 1px;
    height: 10px;
    margin-left: 20px;
    background: #444;
    float: left;
    position: relative;
    top: 50%;
    margin-top: -5px;
}

/* 首页轮播图样式 */

.banner {
    width: 100%;
    background: #fff;
    padding: 20px 0 50px 0;
}

.banner .slider {
    height: 286px;
    margin: 0 auto 20px;
    background: pink;
    position: relative;
    overflow: hidden;
}

.banner .slider .leftArrow, .banner .slider .rightArrow {
    position: absolute;
    width: 52px;
    height: 52px;
    top: 50%;
    margin-top: -26px;
    display: none;
}

.banner .slider .leftArrow {
    left: 30px;
    background: url(../images/left_arrow.svg) no-repeat center;
}

.banner .slider .rightArrow {
    right: 30px;
    background: url(../images/right_arrow.svg) no-repeat center;
}

.banner .slider .leftArrow:hover {
    background: url(../images/left_arrowhover.svg) no-repeat center;
}

.banner .slider .rightArrow:hover {
    background: url(../images/right_arrowhover.svg) no-repeat center;
}

.banner .slider:hover .leftArrow {
    display: block;
}

.banner .slider:hover .rightArrow {
    display: block;
}

.banner .slider .bannerUl {
    position: absolute;
}

.banner .slider .bannerUl li {
    float: left;
    width: 1130px;
    height: 286px;
}

.banner .slider .bannerUl li img {
    width: 100%;
    height: 100%;
}

.banner .slider .circleTab {
    position: absolute; 
    height: 10px;
    width: 68px;
    z-index: 2;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    
}

.banner .slider .circleTab li {
    cursor: pointer;
    float: left;
    border: 1px solid #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    margin-right: 5px;
    transition: all 1s;
}
.banner .slider .circleTab .on{
    background: orangered;
}
/* 轮播图下面广告样式 */

.sliderBottom {
    height: 170px;
}

.sliderBottom ul li {
    float: left;
    width: 210px;
    margin-right: 20px;
    background: lightsalmon;
}

.sliderBottom ul li img {
    width: 210px;
    height: 168px;
    vertical-align: middle;
}

.sliderBottom ul .last_li {
    margin-right: 0;
}

/* 子导航的样式 */

.subnav {
    height: 56px;
    text-align: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 3;
    font-size: 16px;
}

.subnav>ul {
    display: inline-block;
}

.subnav>ul>li {
    float: left;
    height: 56px;
    line-height: 56px;
    padding: 0 30px;
}

.subnav>ul>li>a {
    display: block;
    height: 100%;
    color: #999;
}

.subnav>ul>li>a.active {
    color: #282828;
    border-bottom: 2px solid #444;
}

.subnav>ul>li>a:hover {
    color: #282828;
    border-bottom: 2px solid #444;
}

/* 列表样式 */

.list {
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-right: -20px;
}

.list .card_box {
    width: 210px;
    height: 308px;
    float: left;
    position: relative;
    background: #fff;
    border-radius: 4px;
    margin: 0 20px 20px 0;
}

.list .card_box img {
    width: 210px;
    height: 158px;
}

.list .card_box>.card_info {
    border-bottom: 1px solid #eee;
    padding: 11px 0 13px 16px;
    height: 75px;
}

.list .card_box>.card_info>.title {
    width: 178px;
    margin-bottom: 1px;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list .card_box>.card_info>.type {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 17px;
    height: 18px;
}

.list .card_box>.card_info>.item {
    font-size: 12px;
    color: #bbb;
}

.list .card_box>.card_info>.item>span {
    margin-right: 10px;
    cursor: default;
    padding-left: 21px;
}

.list .card_box>.card_info>.item>span.view {
    background: url(../images/eye.png) 0 center no-repeat;
    background-size: 16px auto;
}

.list .card_box>.card_info>.item>span.comment {
    background: url(../images/comment.png) 0 center no-repeat;
    background-size: 16px auto;
}

.list .card_box>.card_info>.item>span.good {
    background: url(../images/good.png) 0 center no-repeat;
    background-size: 16px auto;
}

.list .card_box>.card_bottom {
    height: 50px;
    line-height: 50px;
    padding: 0 16px;
    font-size: 12px;
}

.list .card_box>.card_bottom img {
    width: 24px;
    height: 24px;
    border: none;
    vertical-align: middle;
    border-radius: 50%;
    margin-right: 10px;
}

.list .card_box>.card_bottom>.time {
    color: #bbb;
}

/* 回到顶部样式 */

.goTop {
    background: #ddd url(../images/up.png) no-repeat center;
    border-radius: 4px;
    position: fixed;
    bottom: 34px;
    right: 130px;
    width: 50px;
    height: 50px;
    display: none;
}

.goTop:hover {
    background-image: url(../images/uphover.png);
}

/* 列表分页 */

.pagination {
    text-align: center;
    height: 40px;
}

.pagination>ul {
    display: inline-block;
}

.pagination>ul>li {
    float: left;
}

.pagination>ul>li>a {
    display: block;
    height: 40px;
    padding: 0 15px;
    line-height: 40px;
    color: #999;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #E9E9E9;
    margin: 0 3px;
}

.pagination>ul>li>a:hover {
    font-weight: 400;
    color: #333;
    background: #ffe300;
    border: 1px solid #ffe300;
}

/* 底部广告位 */

.adv {
    height: 100px;
    margin-top: 30px;
    font-size: 0;
}

.adv>img {
    width: 1130px;
    height: 100px;
    border-radius: 4px;
    border: 0;
}

/* 猜你喜欢 */

.guessLike {
    margin: 20px auto 20px;
}

.guessLike>.title {
    margin: 20px 0;
    color: #666;
}

.guessLike>.title>a {
    color: #d36f16;
}

.guessLike>ul {
    margin-right: -20px;
}

.guessLike>ul>li {
    float: left;
    width: 210px;
    background: #fff;
    margin: 0 20px 20px 0;
    overflow: hidden;
    border-radius: 4px;
    -webkit-border-radius: 4px;
}

.guessLike>ul>li>img {
    width: 210px;
    height: 158px;
}

.guessLike>ul>li>p {
    padding: 12px 16px;
    width: 178px;
    background: url(../images/hot.svg) no-repeat 178px center;
}

.guessLike>ul>li>p>a {
    display: inline-block;
    width: 164px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.guessLike>ul>li>p>a:hover {
    color: #d36f16;
}

/* footer样式 */

.footer {
    width: 100%;
    height: 229px;
    background: #282828;
    color: #666;
}